<{include file="Public/top.html" }>
</head>
<body>
<div id="warpper">
    <div class="content">
        <div class="location">商户管理</div>
        <{include file= "Business/nav.html"}>
        <div class="form-box border0">
            <form action="" class="ui-form" id="addManagerForm">
                <div class="ui-form-item">
                    <input type="text" class="ui-text" id="code" name="code" required/>
                    <input type="button" id="search-card" value="查询" class="ui-button"/>
                </div>
                <dl>第1步：输入卡券号</dl>
                <dl>第2步：验证卡券信息</dl>
                <dl>第3步：使用完成</dl>
            </form>
        </div>
    </div>
</div>
</body>
<{include file="Public/foot.html" }>
<script>

    //根据卡券号查询卡券
    $('#search-card').click(function(event){
        var code = $('#code').val();
        if(code == ''){
            layer.msg('请输入卡券号');
        }else{
            $.ajax({
                url:"<{U('Business/searchCard')}>",
                dataType:"json",
                data:{
                    'code':code,
                },
                type:"GET",
                success:function(data){

                },
                error:function(data){

                },
        }
    });

</script>